<div class="articles form">
	<h2><?php echo __d('articles','Send Article'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php $domain_id = $this->Form->value('Article.domain_id'); if(!empty($domain_id)) echo $this->Html->link(__d('articles','Cancel'), array('controller'=>'domains','action' => 'view',$domain_id,'d'=>'articles'));?>
		<?php echo $this->Form->postLink(__d('articles','Delete'), array('action' => 'delete', $this->Form->value('Article.id')), null, __d('articles','Are you sure you want to delete # %s?', $this->Form->value('Article.id'))); ?>
	</div>
	<div class="clear"></div>
	
<?php echo $this->Form->create("Article"); ?>
	<fieldset>
	<?php
		echo $this->Form->input('User',array('label'=>__d('articles','Send to user',true)));
		echo $this->Form->input('name');
		echo $this->Cksource->ckeditor('Article.content',array('config'=>array('height'=>'600')));
		echo $this->Form->input('keywords');
		echo $this->Form->input('descriptions');
		echo $this->Form->input('domain_id');	
	?>
	</fieldset>
<?php echo $this->Form->end(__d('articles','Submit'));?>
</div>
<?php echo $this->element('/menu/left')?>

